package org.shop.dao;

import java.util.List;
import java.util.Map;

import org.shop.dao.base.BaseDaoMapper;
import org.shop.entity.SystemMessage;

public interface SystemMessageMapper extends BaseDaoMapper<SystemMessage, Long>{
	
	/**
	 * 获取系统消息
	 * @param paramMap
	 * @return
	 */
	public List<Map<String,Object>> getSystemMessageList(Map<String,Object> paramMap);
	/**
	 * 商家获取系统消息
	 * @param pramMap
	 * @return
	 */
	public List<Map<String,Object>> getSystemMessageInfoList(Map<String,Object>pramMap);
	/**
	 * 商家获取系统消息条数
	 * @param pramMap
	 * @return
	 */
	public int getSystemMessageCount(Map<String,Object>pramMap);
	/**
	 * 提示获取最近一条的信息
	 * @param pramMap
	 * @return
	 */
	public Map<String,Object> getSystemMessageRecently(Map<String,Object>pramMap);
}